net/http.Transport.replaceReqCanceler (method)

5 uses

	net/http (current package)
		transport.go#L1164: func (t *Transport) replaceReqCanceler(key cancelKey, fn func(error)) bool {
		transport.go#L2168: 			replaced := pc.t.replaceReqCanceler(rc.cancelKey, nil)
		transport.go#L2240: 			replaced := pc.t.replaceReqCanceler(rc.cancelKey, nil) // before pc might return to idle pool
		transport.go#L2568: 	if !pc.t.replaceReqCanceler(req.cancelKey, pc.cancelRequest) {
		transport.go#L2671: 			if canceled || pc.t.replaceReqCanceler(req.cancelKey, nil) {